/**  
 * All rights Reserved, Designed By www.woniuxy.com
 * @Title:  Account.java   
 * @Package com.woniu.domain   
 * @Description:    Description  
 * @author: 蜗牛学院  
 * @date:   2019年8月22日 下午4:17:23
 * @user:   Administrator  
 * @version V1.0 
 * @Copyright: 2019 www.woniuxy.com Inc. All rights reserved. 
 * 注意：本内容仅限于成都蜗牛创想科技有限公司，禁止外泄以及用于其他的商业目
 */ 
package com.woniu.ssh.domain;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Administrator
 *
 */
@Entity
@Table(name="t_distribution")
public class Distribution {
	private int did;
	private String dname;
	private String discripution;
	/**
	 * @return the did
	 */
	@Id
	@GeneratedValue
	public int getDid() {
		return did;
	}
	/**
	 * @param did the did to set
	 */
	public void setDid(int did) {
		this.did = did;
	}
	/**
	 * @return the dname
	 */
	public String getDname() {
		return dname;
	}
	/**
	 * @param dname the dname to set
	 */
	public void setDname(String dname) {
		this.dname = dname;
	}
	/**
	 * @return the discripution
	 */
	public String getDiscripution() {
		return discripution;
	}
	/**
	 * @param discripution the discripution to set
	 */
	public void setDiscripution(String discripution) {
		this.discripution = discripution;
	}
	@Override
	public String toString() {
		return "Distribution [did=" + did + ", dname=" + dname + ", discripution=" + discripution + "]";
	}
	public Distribution(int did, String dname, String discripution) {
		super();
		this.did = did;
		this.dname = dname;
		this.discripution = discripution;
	}
	public Distribution(String dname, String discripution) {
		super();
		this.dname = dname;
		this.discripution = discripution;
	}
	public Distribution() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
